/**
 * Project Name:dsrs-systemservice-service
 * File Name:UserSecurityService.java
 * Package Name:com.bwda.dsrs.systemservice.service;
 * Date:2019年4月28日
 * Copyright (c) 2019, 江苏保旺达软件有限公司 All Rights Reserved.
 */
package com.bwda.dsrs.systemservice.service;

import com.bwda.dsrs.systemservice.domain.exception.SystemServiceException;
import com.bwda.dsrs.systemservice.domain.po.usersecurity.UserSecurityPo;
import com.bwda.dsrs.systemservice.domain.condition.usersecurity.UserSecurityCondition;

import java.util.List;
/**
 * 用户安全策略接口类
 *
 * @author yanyuemei
 * @date 2019/4/27
 */
/**
 * 用户-安全策略
 *
 * @author liangjianyong
 * @date 2019/4/22
 */
public interface UserSecurityService extends BaseService<UserSecurityPo, UserSecurityCondition> {

    /**
     * 根据用户获取策略
     * @param userCode
     * @return
     * @throws SystemServiceException
     */
    UserSecurityPo querySecurityByUserCode(String userCode) throws SystemServiceException;
}